<?php
$pagination_id = !empty($pagination_id) ? $pagination_id : 'pagination_contents';
$ajax_class = isset($ajax_class) ? $ajax_class : 'cm-ajax';
?>
<div id="<?php echo $pagination_id ?>">
	<div class="pagination-container">
	<?php $this->renderPartial('//common/pagination', array(
		'pagination' => $pagination,
		'pagination_id' => $pagination_id,
		'position' => 'top',
		'ajax_class' => $ajax_class,
	)); ?>

	<?php echo $content; ?>

	<?php $this->renderPartial('//common/pagination', array(
		'pagination' => $pagination,
		'pagination_id' => $pagination_id,
		'position' => 'bottom',
		'ajax_class' => $ajax_class,
	)); ?>
	</div>
<!--<?php echo $pagination_id ?>--></div>